package org.igeek.proxy.statics;

/**
 * @package org.igeek.proxy.statics
 * @Description  测试静态代理对象
 * @Author LittlePunk [296526219@qq.ccom]
 * @Version 2022.1
 * @Date 2023/11/13 21:19
 */
public class Test {
    public static void main(String[] args) {
        //1.创建顾客对象
        Customer customer = new Customer();
        //2.创建代理对象
        StaticProxy staticProxy = new StaticProxy(customer);
        //3.调用方法
        String res = staticProxy.order("鱼香肉丝盖饭");
        System.out.println();
    }
}
